package com.ruoyi.service.jpjs.bi_backpay.impl;

import com.ruoyi.mapper.jpjs.bi_backpay.BackPayMapper;
import com.ruoyi.mapper.jpjs.bi_operate.OperateMapper;
import com.ruoyi.service.jpjs.bi_backpay.BackPayService;
import com.ruoyi.service.jpjs.bi_operate.OperateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class BackPayServiceImpl implements BackPayService {

    @Autowired
    private BackPayMapper backPayMapper;

    @Override
    public List<Map<String, Object>> selectBackPayList(Map<String, Object> map) {
        return backPayMapper.selectBackPayList(map);
    }

    @Override
    public Map<String, Object> selectBackPay(String id) {
        return backPayMapper.selectBackPay(id);
    }

    @Override
    public int addBackPay(Map<String, Object> map) {
        return backPayMapper.addBackPay(map);
    }

    @Override
    public int editBackPay(Map<String, Object> map) {
        return backPayMapper.editBackPay(map);
    }

    @Override
    public int deleteBackPay(String id) {
        return backPayMapper.deleteBackPay(id);
    }
}
